package br.com.dallasmotopecas.util.teste;

public class Programa implements Runnable
{
	private int id;
	
	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	@Override
	public void run()
	{
		try
		{
			for(int i = 0; i < 10000; i++)
			{
				System.out.println("Programa " + id + " Valor : " + i);
				Thread.sleep(3 * 1000);
			}
		}
		catch(InterruptedException e)
		{
			e.printStackTrace();
		}
		
		
	}

}
